<template>
  <div class="app-container">
    <el-card shadow="never" class="mb-5">
      <el-form ref="searchFormRef" :inline="true" label-width="auto">
        <el-form-item prop="username" label="收货地址">
          <el-input v-model="username" :placeholder="'请输入'" />
        </el-form-item>
        <el-form-item prop="username" label="申请人">
          <el-input v-model="username" :placeholder="'请输入'" />
        </el-form-item>
        <el-form-item prop="username" label="名称">
          <el-input v-model="username" :placeholder="'请输入'" />
        </el-form-item>
        <!-- <el-form-item prop="username" label="工号">
          <el-input v-model="username" :placeholder="'请输入'" />
        </el-form-item> -->
        <el-form-item>
          <el-button type="primary">查询</el-button>
          <el-button>重置</el-button>
        </el-form-item>
      </el-form>
    </el-card>
    <el-card shadow="never" class="search-wrapper">
      <el-table :data="tableData">
        <!-- <el-table-column type="selection" width="50" align="center" /> -->
        <el-table-column type="index" label="序" width="50" />
        <el-table-column label="发货地址" prop="label" />
        <el-table-column label="收货地址" prop="label1" />
        <el-table-column label="申请人" prop="label2" />
        <el-table-column label="申请人电话" prop="label6" />
        <el-table-column label="收货人" prop="label2" />
        <el-table-column label="收货人电话" prop="label6" />
        <el-table-column label="物料照片">
          <img class="w-3/6" src="/dabao.png" alt="">
        </el-table-column>
        <el-table-column label="名称" prop="label3" />
        <!-- <el-table-column label="工号" prop="label4" /> -->
        <el-table-column label="下单时间" prop="label5" /><el-table-column label="状态">
          <el-tag type="warning" text bg size="small">待接单</el-tag>
        </el-table-column>
        <el-table-column label="操作">
          <!-- <el-button type="primary" text bg size="small">接单</el-button> -->
          <el-button type="primary" text bg size="small" @click="$router.push('/labels/detail')">详情</el-button>
        </el-table-column>
      </el-table>
    </el-card>
  </div>
</template>
<script setup>

const tableData = [
  {
    label: "钢二西中",
    label1: "大通冷加工",
    label2: "张三",
    label3: "巴基斯坦",
    label4: "5899696",
    label5: "2024-04-01 14:27:13",
    label6: "18843598886",
  },
  {
    label: "钢二西中",
    label1: "大通冷加工",
    label2: "张三",
    label3: "巴基斯坦",
    label4: "5899696",
    label5: "2024-04-01 14:27:13",
    label6: "18843598886"
  },
  {
    label: "钢二西中",
    label1: "大通冷加工",
    label2: "张三",
    label3: "巴基斯坦",
    label4: "5899696",
    label5: "2024-04-01 14:27:13",
    label6: "18843598886"
  }
]
const username = ''
</script>
<style lang="scss" scoped></style>
